Fix page initialization fault on URLs with the query string part.