SFDaemonManager: Use correct type for NSMutableIndexSet's lastIndex function