Fix weird bug that shouldn't be possible