fix #374.  Batch Data Entry: Editing an existing batch item unpins the pins