Fix a not properly handled pointer comparison that caused UB am: 7f5c6593f2 am: 6ae350fa22 am: f42b1b66ca
am: 4a2de986df

Change-Id: Ieb1df247934f1fda866420beab85c9dc3475c6a7