To fix #329, specify version and api state in search request from TOC filter widget