Removing redundant if block
Merge pull request #57 from galstrom21/master

COOK-2318 - Removing redundant if block