Fix delete all features method