Slice number that was logged on stdout was wrong. I removed it as it is retrieved later in the code - after logging.