Add code to detect that the entry is converted to a rest by voiced part settings
Eventually calcDisplaysAsRest should take into account voiced parts.