Added UID-based index to calendar table to improve performance in large context setups