Error when creating product and master is invalid, instead of creating a product without a master