Fix tag and aggregate product behavior for the /projects endpoint, and
update tests accordingly

[#45102911]