Reverted DataMapper's explicit String to Integer castings. Fixes #1186.