Patch to implement missing join selectivity estimation for range types

Patch to implement missing join selectivity estimation for range types

Edit