[OE-5270] fixed crash when trying to iterate over posted ids that were blank in the form.