Fixed the recently created bug in LigandFinder.