Wasn't getting set properly if there was no existing querystring.