fix inter-library-loan link display

This should fix #534. The logic around when to display an ILL link should probably be simplified and have a test added for it at some point when time allows.