adding support for opening indexes that are in a closed state