Add query alias for thirdparty flag