Fix recurrence locale checks
Support for custom SQL in demo DB class

Fixed filtering for events in the calendar views correctly