Fix broken functionality for page enabled/visible options