Check the ranges of contacts