Handle array encoding in search parameters