Added range query.