Pag 'Home' does not exist

Since upgrading from v5 to v6.5 a number of users are getting the message “Page ‘Home’ does not exist” when clicking on an outline entry with the following code:@SetTargetFrame(“Outline”);

@Command([OpenPage];“Main”);

@SetTargetFrame(“View”);

@Command([OpenPage];“Home”)

It works the majority of the time for users but they occasionally get the above error which although it doesn’t stop them opening the correct info, it does get annoying.

Can anyone help me find out why the error occurs?

Thanks,

Nicola