Allow determine inside loops

foreach/repeat/while didn't allow determine properly... now they do!