Fixing a bug where data.thumb or data.thumbnail can be set