minor fix in ratings validation