Add new method to query all with not null