title: iOS Swift Present View Controller from Filtered List
body: <p>I am having a strange problem. Consider the following code:</p>
  
  <pre><code>func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
      let view = storyboard?.instantiateViewControllerWithIdentifier("weaponDetail") as! WeaponDetailsViewController
      var name = ""
      if resultSearchController.active {
          name = filteredweapons[indexPath.row].name
      } else {
          name = weaponsList[indexPath.row].name
      }
      view.weaponName = name
      view.selectionOnly = selectionOnly
      view.delegate = self
      view.characterID = characterID
      presentViewController(view, animated: true, completion: nil)
  }
  </code></pre>
  
  <p>It's a UITableView with a search bar.  When the list is filtered and an item is tapped I get this error:
  Warning: Attempt to present   on  which is already presenting (null)</p>
  
  <p>If the list is unfiltered, it works fine.  What am I missing?</p>