[issue 79] handle empty result sets with bucketed data