front: Fixed potential NPE

I'm not sure why there was a null numeral, though.  The reported crash
could be indicative of a problem elsewhere (or it could be normal - I'll
have to study the code further)