Solution for loading relationship indices in Cypher properly. We check if the relationship has lookups or not to load the indices in the origins or in the patterns.