Fixes the admin notice thingie

Fixes #2427