Fix SQL issue with hardcore additions