Fixed test for quality is never negative rule