WCM-146 Fix error when there aren't any user segments