[core-utils] fix filtering grouped links