This check is already done once on Ln 1264. No need to do again here (inside a loop)