fixed bugs in Elo score inserts for friendRatings and userRatings