Fixed a small boolean error.