Fix #179 - Handle deleted features in selection