Fixes a bug where reserving a heterogenous group of reservations would sometimes lead to wrongly reserved spots.