handle wrong timerange formats better

fixes #246