Fix double query when try create calendar event. CLoses #142.