fixed empty ranges - now accepting a zero-sized field