Moved query rewriting into its own function instead of leaving copies in multiple middleware functions
Moved query rewriting into its own function instead of leaving copies in multiple middleware functions

hash-bang/Monoxide,hash-bang/Mongoloid