JS-224 Prevent duplication of merged/linked verses

This code change is somewhat experimental but necessary for some books and has been in use in And Bible for a long time.

If anybody can suggest a better way to do this then please do but I have observed no problems with this approach.