Fixed a fencepost error