Small fix in quality check