Fix to return active page when agent is approved or unapproved.