Check if comment['Rating'] is a number before checking if it is between 1 and 5