Bug 957150 - Fix errors in history deserialization on Metro [r=TimAbraldes]