More debugging/validation of scope expansion for partial keys