Fix missing required key error when showing preview without creating item refs #27