Fix comparison for null and boolean values

/to @ritch 

See https://github.com/strongloop/loopback-datasource-juggler/pull/132