Fix typos in fix-derivatives script