Fixed #316

* Removed max values for both numberOfContents and offset