FACES-1755 removed redundant if block ... tested with tck

FACES-1755 applied to 3.2.x and tested.  Should be portable to other versions of Liferay Faces.