Fix vm in computer inventory (sql error). closes #2615