Made query parameters optional for taxon and state queries.