Fixed bug in getByIndex when trying to use keys arg