Update resources queries to only return active and not deleted records