Preventing writes if a mapping already exists