Changing attribute defaults from empty string to nil and adjusting template accordingly.