Do not remove keys from view query if they are null, and support internal removal of query keys from view object