Well I solved it!

After going thru the PageBegin.inc I did remeber that there were two variables that where misspelled. One of the was ofcourse iOrriginalPageID that should be iOriginalPageID