Wow. That sh*t was just plain broken. I have no idea how my test cases missed this bug!