Fixes for recalc_karma script

Was mistakenly using id instead of _id