Fixing the logic that removed the GET portion of the URI to only do so if there is a question mark present.