Added test to reproduce the issue
Simplify condition for "prev" link
Merge pull request #78 from ox-it/fix-hal-pagination

Fix HAL pagination links