I think Yoann's first suggestion is the only workable one. Just log that we are skipping the index (and why) and move on...