Add scope to range key check