Edited for blanks query filer and orderby
updated query function
updated the query function to handle black properties
trying to push changes
stashing before merge
Revert "updated the query function to handle black properties"

This reverts commit fa9e206804edd175fc6804625ee23cf5096a4a2e.
Revert "Revert "updated the query function to handle black properties""

This reverts commit 4d5b470d3d614379b3811e3207e29a906cf0f060.
changed empty to is set
fixed some syntax
Merge pull request #2 from philsogaDGI/7.x

updated the query function to handle black properties