Fixed the thumbnail.modified bug.