Fix sql query for snmpmodel list. closes #1954