Add safety check for an invalid note range to prevent crashing.
Fix markup of README.rst