Hi Adam,
Thanks for your advice about the lock gate. I realised when I did it that it was a "work around", but I couldn't find the lock gate feature in the editor. I have now removed it.
Bob