20423 Fix maintenance mode for stale=ok views and changes feeds.

This is based on #109 and will go out in the same release. I've kept them secret for ease of review.