Fix sed command from last commit

Addresses #564