I will add the check and switch to regular foreach loop.