Newly created predicate is not found

Right after the creation of a new predicate the edge can't be made using this predicate and breaks the import. Flushing the cache fixes this problem.