Fixed ClassCastException when returning stored numerical fields.
Merge pull request #206 from lucag/master

Fixed ClassCastException when returning stored numerical fields.