CORE: fixed some SqlHandle logic when loading equipped gear from database