Changed validation method and fixed response message if no ratings were submitted.