Removed unnecessary graph pattern