Added some fixes to get() in ArrayList