@Bradon_Hein gave me a suggestion to a problem in my code:
Yes, my code had the problem. I have fixed it.
Thank you, @Brandon_Hein