Fix typo in FutureResolver's resolve algorithm

It looks the if-s are just typo.