Fix for adding an empty equation.