Updated CachableOdmCursor::first in order to check

if index 0 isset.