DB Error: ERROR: operator does not exist: text <> integer LINE 16: ...ished = 1 AND j.enabled = 1 AND jsl.setting_value <> 2 AND a... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.