Updating my repo
alertsbyexpiredrev removed
almost identical where clauses
minor changes made
Merge pull request #97 from kaustabh/master

alertsbyexpiredrev removed.