fixed crash when user submitted a rating that was not a valid integer.
i.e. no input or string