Check for query params