UPBGE Animations not working correctly

Hello all,
I am making a game in UPBGE 0.3.0 (12/26/20 build) and am finding that id doesn’t like to play multiple animations. So, I have the idle and walking animations in action actuators that are activated by the following script module (mag is the amount that the joystick is tilted):

if ground.positive:
def ground_actions():

    if not x and not y:
        cont.activate(cont.actuators['idle'])
    else:
        cont.deactivate(cont.actuators['idle'])
    
    if x and own['mag'] >= .35 and own['mag'] <= .75 or y and own['mag'] >= .35 and own['mag'] <= .75:
        cont.activate(cont.actuators['walkLegs'])
    else:
        cont.deactivate(cont.actuators['walkLegs'])

ground_actions()

The walk action works, but the idle does not play. Any advice is appreciated.

By the way, x is motion of the joystick in the x axis and y is motion of the joystick in the y axis. Ground is a sensor.

Update:
I just tried fiddling with the priority setting in the action actuator and it works now.