Fixes an issue with creating a new algorithm.