Fix inproper type value on getLongAt.