Fixed bug in ciniki.gallery with missing history