flag updated properly when the lemming fails to execute an action