Ok, thanks. In preview mode, the tildes were expanded...
Ah yes, you're right, preview is not aware of the smart tricks about later (non)expansion.