Fix so we don't throw warnings in the admin.