Ah ha, I think I found the bug