return empty collection if indexes or foreign keys not exists