Allow for conditions without value in query builder and fix NULL conditions