Allowing null as a value in html morphing