libs: filter: use macro for returning op default value