Checking for "undefined" first.

As of right now, if a person's not a master it quits.