Another fix for gas usages when resuming after offline period