fix regression introduced in 129236ca41fca2d98f89d9744ef33a01a2802b8d for WaptSessionDB