Fix for backend. Now removing selection also remove associated schedule