Consistency check