Fix problem when writing condition to not match DataType in STG monitoring code pinging @sfuenzal @estel