Fix the condition

(thank you Kohei!)

Change-Id: I45f94a2e09d24afeec545f4cf84acd209092ab7d