Fix for squeue step filtering logic with job arrays