Revise handling of some edge cases for fingerings and scripts
This collects improvements that, put together, solve the test case in !1068 (closed). CC @vpetzel.
This collects improvements that, put together, solve the test case in !1068 (closed). CC @vpetzel.