Fixes wrong data type in SQL for base_exp,base_drop and base_death.