Fix check tfSearch is null on iOS 6