Fix frontmost operation getting dependency priority