Added filtering of thumbnails