Fix crash on filtering (using SwiftKey keyboard)