Fixes record insertion for leaderboards