Fixed indexing bug in clerk check-out item ui