When evaluating the following input:
<|a -> {c, d, e}|> /. d -> Nothing
I get (expression 1):
<|a -> {c, Nothing, e}|>
However I would expect to get (expression 2):
<|a -> {c, e}|>
Nevertheless, if i place the cursor on the unexpected output (expression 1) and evaluate it by pressing Shift + Enter, I get the expected output (expression 2), which is even more puzzling.
Mathematica version is 11.0.0.0
Should this behaviour be expected or is it a bug? Why?