Fix issue113: substitute bindings into search query to get original filter.