Fixed Stats method for Not iterator.
Added unit tests for Not iterator.