Removed unnecessary map-index call.