AutomationPattern: fix values after last value
Merge pull request #418 from diizy/stable-0.4

AutomationPattern: fix values after last value