My question was marked as duplicate for an additional error found in my code. The issue I'm trying to resolve in my question is regarding a specific runtime error but a member closed it, marking it as duplicate for a logic error that was additionally found in my code.
I was under the impression that the scope of my post would stay within the scope of my question and not stray to other issues in my code, especially when unrelated.