Fixed bug with 0 weight max property not being set.