Bug 950821 - Properly check for undefined value when prefilling spans

https://bugzilla.mozilla.org/show_bug.cgi?id=950821