Maybe `pk_field && (pk_value = pk_value = Dict.get(result, pk_field))` so we don't even do the operation if we don;t  have a value in the first place?