Fix negative earnings / sales. Closes #1775