Fix foreach list of one integer test.
Fix foreach list of one integer test.

dpocock/openrpt,paladinlogic/openrpt,xtuple/openrpt,paladinlogic/openrpt,davidbeauchamp/openrpt,davidbeauchamp/openrpt,xtuple/openrpt,xtuple/openrpt,dpocock/openrpt,davidbeauchamp/openrpt,dpocock/openrpt,paladinlogic/openrpt