Fixes filter script