Update air checks to check for the material instead of the id.