WIP - report zero instances as an empty array, not "null".
WIP - instance filtering