LPS-45066 AMS - fixed indexer bug