change wrong if clause, when use status saving and boolean settings.
change wrong if clause, when use status saving and boolean settings.

EHJ-52n/js-sensorweb-client,EHJ-52n/js-sensorweb-client,janschulte/js-sensorweb-client,52North/js-sensorweb-client,52North/js-sensorweb-client,janschulte/js-sensorweb-client