No idea why that set intersection syntax worked in testing, here's something better