Make QueryGraph pick up var length patterns