Only add data to GET requests if not empty.