Display Snort alerts of detected devices only
Had reversed the column names for join between Alertdb and deviceinfo. Fixing it.