Re-done array_pattern-filter