Fix bug in extension filter
2.0.6