Fixes regression from 75077f6200 that caused
global automation tracks to have priority in processing.
Adds a test checking for the desired behaviour.
Fixes #4268
test-files and their MD5 sums go here 16a41b09841f6893c6a621f3e7c63692 emptyproject.wav