added null check to allow blank input to match all