Correct deleting peer review criterions

Explicitly conterting to int id of criterions in iterator function