Fixed OR statement to only include 'undefined'