Fixed condition
Merge pull request #172 from sylvaindeloux/patch-1

Fixed condition