Fixed a bug causing int32/uin32 to incorrectly calculate the reverse indices.