Added mysql error messages for failed moderation queries.