Make queries for SandBox utilize the SandBoxManagement entity so that the site discriminator can be taken into account, when applicable.