Fixed _expire_after calculation
Fix added expire to record hash calculation.