made feature deletion a bit more efficient by returning if no features were deleted