Add range filters to single template

Signed-off-by: Suhayb El Wardany <me@suw.me>