More work on getting opac urls to behave on mercury