Remove querying for $params

I'm not sure how that piece of code was meant, but it breaks the detection of the current active node, as it includes all route parameters in a WHERE-clause. This will ofcourse make the query fail.
Merge pull request #33 from alxy/patch-3

Remove querying for $params