data migration to work around previous notification rule bug

Better to just fix the problematic data, I think.

Fixes #698.