Fix getting symbol usage scope

Close #471.