Solve issues detecting free slots