Fixing upload image model so it correctly detects list view on backend