Fixed the way we delete when calling delSelected