Fixed bug caused by older redis versions not accepting float-point expiry.