Filtering An Array On The Frontend WIth A Where Conditions Converts Boolean To String

Add a where condition to an array on the frontend and set the value to boolean:

It will escape true as a string:

Manually updating the code fixes the issue: