Revert "Fixed a bug I caused in the last commit"

This reverts commit 3c59f8c0c480aeae10500cdf1cb2d55977c9a89a.