Fix "NaN" when live MBR

Hello Mangui,

As mentioned in the issue https://github.com/mangui/flashls/issues/99, I did the correction for it and I'd like you to take a look if everything's fine.

Best regards,
Leandro