Apply filters properly.