Fix migrations to properly update from phpBB 3.0 MOD.
Fix bug with error sending PM/email notifications.