Fix a few critical issues with database and bans
Update some commands