Fixed routes queries
Merge pull request #7 from mandreoli/master

Fixed routes queries