[OE-5270] fixed crash when trying to iterate over posted ids that were blank in the form.
Merge branch 'feature/glaucoma-2.1' into feature/vc