Fixes a logic error

Thanks for share this awesome library!