Do not throw NPE on a search without to and from