Fixes a bug so it works with search controllers.
Merge pull request #15 from jivadevoe/master

This fixes a bug which caused the swiping not to work when a search results table view is showing.