am c3dddce2: More accurate checking for overlapped ranges.

* commit 'c3dddce205ef44933813394013ee5ef89b63653b':
  More accurate checking for overlapped ranges.