Fix headers filtering