Actually the check isn't necessary at all. Was in one of my initial implementations, but it's been worked out since then.