Fix filter and selected integration.