Fix error where post#edit created new slide