Fix sql queries in computers search list. closes #2244