Do not add TagAttributes when their value is null.