FIX: attempts to enforce caret position in filter (PR #14589)

GitHub