Defaulting variant weight to 0 at the schema level

Fixes #4300