Getting value.map is not a function in conditions.push(inArray(properties.amenities, amenities)); - Drizzle Team