I don't know how it's intended to work in this situation. My first guess would be that it sees conflicting settings and ignores them both. Have you tried each profile on its own, with the other one disabled? If so, do they each work as expected with the other disabled? I can tell you that a task with a priority of 10 will be executed before a task with a priority of 1, and that exit tasks have a higher priority than enter tasks. Also, any Wait actions within a task will allow another task to "jump in" even if it's a lower priority task. Unlike (what I remember about) Locale, the profiles themselves don't have a priority.