fix: udpated indexing to ensure edge cases are considered
fix: udpated indexing to ensure edge cases are considered

wanderine/nipype,carolFrohlich/nipype,mick-d/nipype,arokem/nipype,mick-d/nipype,gerddie/nipype,carolFrohlich/nipype,wanderine/nipype,arokem/nipype,FCP-INDI/nipype,iglpdc/nipype,carolFrohlich/nipype,blakedewey/nipype,JohnGriffiths/nipype,grlee77/nipype,iglpdc/nipype,glatard/nipype,mick-d/nipype,gerddie/nipype,glatard/nipype,pearsonlab/nipype,arokem/nipype,pearsonlab/nipype,blakedewey/nipype,Leoniela/nipype,FCP-INDI/nipype,pearsonlab/nipype,blakedewey/nipype,FCP-INDI/nipype,sgiavasis/nipype,JohnGriffiths/nipype,gerddie/nipype,grlee77/nipype,JohnGriffiths/nipype,arokem/nipype,iglpdc/nipype,sgiavasis/nipype,dgellis90/nipype,pearsonlab/nipype,grlee77/nipype,wanderine/nipype,sgiavasis/nipype,Leoniela/nipype,mick-d/nipype,JohnGriffiths/nipype,FCP-INDI/nipype,iglpdc/nipype,dgellis90/nipype,gerddie/nipype,Leoniela/nipype,sgiavasis/nipype,grlee77/nipype,blakedewey/nipype,dgellis90/nipype,glatard/nipype,wanderine/nipype,carolFrohlich/nipype,glatard/nipype,dgellis90/nipype