Usually, the word "overlooks" is used to mean "fails to account for." This is slightly different from the phrase "takes for granted," which is used to mean "assumes." So, you could say that while the former does not consider something it should, the latter considers something that it shouldn't. Both phrases typically indicate a possible flaw in reasoning to be aware of.
Does this make sense? Please let me know if you'd like further clarification!