rc: refactor loop avoidance again, fix typo from historic commit
rc: refactor loop avoidance again, fix typo from historic commit

https://github.com/pfsense/pfsense/commit/46a7c9aae#diff-9f6cbcc34208589ed90d936a29cbe8c9R120

opnsense/core,opnsense/core,opnsense/core,opnsense/core,opnsense/core,opnsense/core