Fix a bug regarding when clean pages can be evicted

refs #884