Updated documentation
Modifications to fix error messages if searching beyond last data record.