Check case when no records to save (previously we had exception in this case).