fix opening's wrong scope definition based on latest db-schema

Signed-off-by: Henry Chen <hchen@vmware.com>