Fixed problem where rangeKey was not getting a value