Fix bug introduced by a find and replace