Check for NULL hs_type first