Ai... that seems like a pretty obvious bug, in hindsight.