relate #7602
normally gitlab_subscriptions.trial is false/true, however JH group is nil because it is directly set by admin, so we need consider this scenario in query.