Fix comparison for null and boolean values

/to @ritch

See strongloop/loopback-datasource-juggler#132