Refined orphan page handling.