Fix conditional for a required acessor