Bug fix + comparison const + not equal

SqlQueries that did a check for is null did not work

Added support for not equal (also work with null)

The " magic"  constants for comparison have been replaced with consts