Fix 'Data type cache not updated when data type updated'-bug