Recover from panics during map phase.
Fix typo in database name