MinSize check for Quality Definition

Implemented missing MinSize logic and unit tests.