Fixed a minor issue involving static variables. *facepalms*