Handle missing graph more gracefully