Found a couple of bugs in the regression testing of MAL-ED and PROMO studies.
AncestorExpander was returning descendants of the last entity of the stream when it was intended to be excluded if the 2nd to last item was included
StreamIntersectMerger when passed a single stream of IDs with duplicates was incorrectly including the duplicates. This was causing a bug when filtering on a single stream of multi-value variables.
Overview
Found a couple of bugs in the regression testing of MAL-ED and PROMO studies.
Testing
Added a couple of missing test cases.