Fix condition

Change-Id: I8e70a62959dbeecd571c15c5b6fac1a41511a3f6