Hi Klein,
Thanks, it seems to me that is could be a bug, although I have no idea is it in tool that converts the project, the compiler or somewhere else. I have kept all the references and everything else seems to be working fine.
For the moment I am letting go of selecting last page :(.
Not sure how my clients will react to that :).
Thanks again Klein for all you efforts.