fixing filter render, search reindexing- fixed but inefficient