Fix addRequest when request history is full
Merge pull request #230 from ejsolberg/master

Fix addRequest when request history is full