Fix NPE when doing all world search.