Fix portal front-page condition