The hasInverse directive does not use the reverse index. Instead it creates two actual inverse edges and manages them in the API layer. So when you add the rdf triples, you need to add both edges for every relationship having the hasInverse directive.
Check out this script to maybe help you fix the missing relationships: