Bugfix for related_links method
Merge in @jprevost's bugfix for related_links method to prevent colliding instance variable name with fulltexts method
jprevost's bugfix to prevent colliding instance variable name with fulltexts method.