BugFix: plcCheckIdx