Fix trailing comma in findAndModify code