Removed undefined from query strings