Issue #2549783 by lostkangaroo, phenaproxima: RequirementsException gives foreach error when single requirement present