use extract_options instead of

filters.last.is_a?(Hash) ? filters.pop : {}