[RFC] fix billing agreement status

Fixed query for billing agreement status