fixed the action formatter to compare rowid against item id instead of row index