Fix M2M iteration.