Fix logic flaw in 7adbf4f
Merge pull request #423 from foldericon/patch-3

Fix logic flaw in 7adbf4f