Fixed type on some integer keys.

The fix allows to have more than +2147483647 IDs, that means, data directories bigger than ~300GB.