Fix NEP and ArrayOutOfBound exception on inner join
Merge pull request #440 from emmanuel-keller/master

Fix NEP and ArrayOutOfBound exception on inner join