Move checking/logging out of executeModification()

No match.