force ActiveRecord query in AlertManager