Now throwing IllegalStateException when BasePath2.removeFromBeginning is used in unuseful way