Master should be made out of stock when its variants are created. Fixes #3767