Fixed bug that Dandy found.