BUGFIX: Comparing to sensor type in SensorPerturb

Change-Id: I9196f396c1e427806a9af07c040d1fe62cc1ca86