Fix for query strings not being correctly handled

See http://ost.io/@chaplinjs/chaplin/topics/71