BLAC-153 Added custom indexing method getLibraryCode to fix the issue with old locations being added.