Check for bad input values from graph queries.