Core/DBLayer: Added missing fixes from 395ac46

Fixes .reload creature_template and a potential petitions crash