Added check in alarm receiver for invalid event times.
Added check for empty cursor in event store getalarmid.
Merge Fix