Fix a typo in if clause

Change-Id: Icf208c6c86022a54f9b2a7b0a99ae18e858cb389