The issue is mentioned in detail in this post https://discuss.dgraph.io/t/multiple-variable-consistency/1932/5?u=pawan. I have been able to reproduce this. This seems a consequence of trying to avoid loops in the graph.