Added a means to put is not null conditions into queries