@Phaedrux It looks like the error was in one of the nested macros I use to lower motor current during homing as after running the blank operations I mentioned above on the files in the /sys folder, the error no longer appears. I guess SBC-mode was acting as an additional filter and caught it which was why I never encountered the errors before.
Thanks for the help!