Fix erroneous required attribute