Relevance query returns "Architecture of OS" properly without 'none'

Hello, I’m using the relevance query ( item 0 of it as string & “~” & item 1 of it as string & “~” & item 2 of it as string & “~” & item 3 of it as string) of ( (if (exists result (item 0 of it, item 1 of it) and exists values of result (item 0 of it, item 1 of it) ) then (concatenation “;” of values of result (item 0 of it, item 1 of it)) else ("")), (if (exists result (item 0 of it, item 2 of it) and exists values of result (item 0 of it, item 2 of it) ) then (concatenation “;” of values of result (item 0 of it, item 2 of it)) else ("")), (if (exists result (item 0 of it, item 3 of it) and exists values of result (item 0 of it, item 3 of it) ) then (concatenation “;” of values of result (item 0 of it, item 3 of it)) else ("")), (if (exists result (item 0 of it, item 4 of it) and exists values of result (item 0 of it, item 4 of it) ) then (concatenation “;” of values of result (item 0 of it, item 4 of it)) else (""))) of ( bes computers, bes property “C_Code”, bes property “Architecture of OS”, bes property “AIX Full OS Level”, bes property “ID”)

to get the end point server with OS type. Some of the systems like Solaris returns the OS type as “none”. How can I get the correct OS type for all the Operating Systems (server) without “none” is being the OS type?

Any help is appreciated.