Added max_query_limit to constants. Ensure safe limit param on paginated queries.