Modified RichGraphValidator bean and xhtml page to avoid exception being thrown