Alerts search

The only relevant commits are 07b5650 and 31e8b84
(part of this comment is for my education, and part of it is because I think this method is confusing)

Parameters is a flat array that will have the string "AND" next to all the filters that it will be `AND`ing?

From my experience and `Either` type is for usually used for representing a possibly failed computation. It's like an `Option` type, but instead of only allowing `Nothing` (`null`), it allows `Left` to be anything, usually a string describing the failure. I haven't seen it used for polymorphism, so this code looks a little strange to me.
https://hackage.haskell.org/package/base-4.2.0.1/docs/Data-Either.html