Fix debugging statement to not run for an undefined value