Condition to hide pages does not seems to work.