guard against reducing empty arrays in report controller