Fixed a bug in the admin edit section