Fix condition

Change-Id: Ib10e75388573a8d8a5404a6fc99c58a2e1d95d89