Fixed conditional context updates in page processors for Python < 2.7