Fixed issue with carry-over page classes.