added server side validation for empty string search references #49