Refactored BMInterface->assemble_search_filters() to reduce cyclomatic complexity