Some debug logging around pagination
fix rel link regex