Test that context-based autofiltering handles explicit strategy-safe functions correctly.