Added check to ensure we don't re-pin with a cursor already using another page.