Fix setBoundaries behavior in case of missing parameters