added date indexes for photos and albums