Implemented the feature to have dynamic boundary conditions with different boundary condition types next to each other.