Fix local graph lookup