Fixing bug where records never expired.