Adding theft history cleanup logic