Fix: random with deleted quotes

Reported-by: @oz