Add importing edge cases

When reference does not match any entity pattern