Correct removal of 'spentTime' attribute