A fix to check for forEach in system before use.