Fix condition, avoid deprecation warning.

Find returns -1 if string not found which results in True.