Fixed an assert caused by a lingering .vars reference in padlock.