Fixed paste page bugs.

Allowing a boolean to be reset to False in every loop iteration ...
embarrassing.