[Closes #14] Fixed bug.