Updated the logic for determining if armor is valid for an armor slot