Fixed numkey check in SanityWalk