Fix Bug 878071 - Thumbnail Migration Script