Fixed query copying
Updated Query Concepts with Rails 4 strong_parameters