Don't think type cast to string here is required as it will only match values in the array anyway.