Enabling the ignore case option seems to be breaking the "array contains".
To Reproduce
Create an "if" node
Set value one to any JS array expression like {{ ["SAC-TEAM"] }} , and value two to SAC-TEAM.
The condition at this time is true.
But, enable ignore option and the condition becomes false.
Expected behavior
I would expect to get "true" independently on the "Ignore case" option. And in case the cases didn't match, the option should still make the condition true.
Bug Description
Enabling the ignore case option seems to be breaking the "array contains".
To Reproduce
Create an "if" node
Set value one to any JS array expression like {{ ["SAC-TEAM"] }} , and value two to SAC-TEAM.
The condition at this time is true.![image](https://github.com/n8n-io/n8n/assets/127315498/57daeb88-1111-4a98-bd00-0336e5332005)
But, enable ignore option and the condition becomes false.![image](https://github.com/n8n-io/n8n/assets/127315498/deb7b2d4-7d11-4102-a22b-837cf3590a3a)
Expected behavior
I would expect to get "true" independently on the "Ignore case" option. And in case the cases didn't match, the option should still make the condition true.
Operating System
Docker
n8n Version
1.47.0
Node.js Version
Docker
Database
PostgreSQL
Execution mode
main (default)