Minor bugfix

Fixed mistake where block IDs were used rather than stop IDs