Do not compact before checking minItems

Fixes #129