fixed another weakness in range

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>