Fixed bug in getting riak_core alerts