Fix expiration time logging unit. Closes #68.