Fixed js bug where the item list would show up at the bottom of the list not under the batch it belonged to.