Slight logic error
Merge pull request #41 from Person8880/develop

Slight logic error