fixed issue with filtering

if first name, last name, nickname was null, filtering broke