Simplify this condition a bit

Change-Id: Iceef995be9ff55306550e56a0be87dddab7a78c3