Initialize the duplicate finder when creating the action model.
Fix iteration over newly inserted rows.

This makes the duplicate shortcut finder work again.