Fixed the issue where the model would return a thumbnail image when it was supposed to be nil (when there is no image in the database)
Changes from merge (fixed thumbnails)