Change semantics of firstKey, lastKey per #244
Add failing test
Fix off-by-one error
Merge pull request #245 from BlueMountainCapital/GH244

Change semantics of firstKey, lastKey per #244