Remove isError from KForEachLoop