Fixed #3372 (New check: dereference iterator and then checking it)