Added ability to change result limiting.