I have found my bug and fixed it!