Added an argument strictLigandHandling to getStructureForDomains, and
made this normally false.