Add range restriction to gschema-compiler