Fixed the BoundarySpecies bug