Added overlapping ranges validation.

Signed off by: Rafael Manzo <rr.manzo@gmail.com>