Fixes for error reported in SIMPRU case 154916 https://www.icesi.edu.co/solicitud_servicios/view.php?id=154916
- Fix some typos in documentation.
- Fix the way reservation query is built.
- Add some messages for debug purposes.