Very odd bug where a query string was just getting chopped up for no apparent reason