Fixing extensions exclusion for given admin

Fixes unit tests as well