The if condition was wrong and caused compilation errors with 1.1. Potentially broke 1.0.2. Signed-off-by: Rosen Penev <rosenp@gmail.com>