Fixes a great bug wes found.