Defaulting variant weight to 0 at the schema level

Fixes #4300
Fixes #4311