[TASK] Disable previous entity in history service

Internal serialize() leads to problems with sql_object_hash() thingies