Fixed some bugs with writing to database in MCReputation plugin