Compare active params and query using normal equlity operators.
Merge pull request #293 from unfold/numeric-params-and-query

[fixed] Properly cast active params and query before comparing.