The other common situations in which the value of Pearson’s r can be misleading is when one or both of the variables have a limited range in the sample relative to the population. This problem is referred to as restriction of range
This is the first time I have read this and it makes sense. I will always keep in mind not to restrict age range when carrying out analysis using the Pearson's r