add sublevel test, as in #3
fix sublevel test by using start/end instead of lte/gte