Also check before starting iterator, for the case of multiple statements.