hopefully changes re getsearchcriteria complete - fixed bug with comparenull