Fix attempt to minimize calculation when getting record map id
Avoid sending items to SF as UPDATE when it has not yet been made in SF
Remove supliferous declaration of key variable