Drop unreplaced tokens in dynamic values.

See also #127.