BUG: GH2808 Apply with invalid returned indices raise correct Exception
Merge pull request #3228 from jreback/GH2808

BUG: GH2808 Apply with invalid returned indices raise correct Exception