Fixed a bug where results were getting multiplied.