Fixed so that, when appropriate, only displays the one event to edit it