Metadata filtering not working properly/Having some sort of a hidden limit

Hi everyone! I have an “$OR” with 186 "$AND"s inside. Each “$AND” has a few string elements inside of it. For some reason, the filtering isn’t working If I have more than 178 "$AND"s, I couldn’t find any information about a count or a size limit. I’d really appreciate your help!