some checks to correct for wrong timestamps
worked onrecalculatedCurrentVariation
was not working, due to missing keyvalue pair, added