Fixes #1105: better validation for Gii model generator