Ensure BAM indexes are up to date during retrieval preparation