Query Products containing a specific Collections

I have a different wixData query that pulls all the Collections and use the ids from that response. A console.log confirms the id is still assigned right before the Products query. Removing the .hasSome() results in a working query, so I’m confident it’s the problem.