B OpenNebula seg faults when there are gaps in the history sequence
B OpenNebula seg faults when there are gaps in the history sequence

(cherry picked from commit ea357cc58f88c634f08d848e369a4c4ae0f2ae42)

OpenNebula/one,atodorov-storpool/one,abelCoronado93/one,baby-gnu/one,baby-gnu/one,atodorov-storpool/one,atodorov-storpool/one,OpenNebula/one,OpenNebula/one,baby-gnu/one,baby-gnu/one,OpenNebula/one,baby-gnu/one,atodorov-storpool/one,baby-gnu/one,abelCoronado93/one,baby-gnu/one,OpenNebula/one,abelCoronado93/one,atodorov-storpool/one,OpenNebula/one,OpenNebula/one,baby-gnu/one,abelCoronado93/one,OpenNebula/one,abelCoronado93/one,abelCoronado93/one,OpenNebula/one,atodorov-storpool/one,atodorov-storpool/one,atodorov-storpool/one,atodorov-storpool/one,abelCoronado93/one,abelCoronado93/one