Fix for query string not handled correctly

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