fix the PageNumber is never change for targetId, when removed target and changed Id.

http://osc.matsukei.net/issues/271 refs #271