Fix note bounds reading, Francisco Alonso / Red Hat