Admin badge creation bug fixes.