Removed ResourceGroup from query when using CKAN 2.3 or above