Readded the check in teh submitRating.php file for improper input.