Removed specific page mismatch exception name, used generic NSAssert instead.