WP-1612: Prevent non-program pages from getting the wrong class.