Fixes error if table doesn't have a column "title"

This fix will use the last column defined in the values when the field type is select and the values are fetch from a content type.
Merge pull request #1180 from andersonamuller/patch-1

Fixes error if table doesn't have a column "title"