Fix conditional for smart PID management
Bump version to 0.1.7