Fixes a small bug that went undetected that might bite us in the ass later.