Issue #8746 by cableman: Ensured that media order is updated when slide is deleted