Fixed exception in ratings when join date = null