[ResourceBundle] Proper handling of null values

Internally doctrine findBy will change to IS NULL. Setting o.property = null does not work. This adds another if statement to check if the value is null and builds the QueryBuilder accordingly