add to_query! for stricter validations
Merge pull request #1 from WesKetch/master

add to_query! for stricter validations