Fixed issue with auto-indexer detection in post-processing code