Fix #462 - Configurable head limit.
Merge pull request #526 from bennidhamma/master

Fix #462 - Configurable head limit.