OTA: Fixed error in if statement

Change-Id: I8a3b0d260ed8210ce8e8932476c657ee325ee350