Fix expiration field to expire in has() method