@parthaa, you are correct.  Good find.  Code has been updated in both package_group_filter and package_filter.