Checking input of GET parameters.