Fixes Admin::ResourcesController#get_thumbnails on PostgreSQL
Merge pull request #131 from slainer68/pgbug

Fixes Admin::ResourcesController#get_thumbnails on PostgreSQL