Removed AND from query

Removed ports.ignore=0 from SQL query so that ports that are set to be ignored for alerting are still select able.