Added database fix for bug in moderation