Form entries in .repeated-chunk using .show-if-not-only CSS class are not hidden when they are alone, because there are missing CSS class definitions.
See the example below.
I've sent a pull request: https://github.com/jenkinsci/jenkins/pull/8491
I've sent a pull request: https://github.com/jenkinsci/jenkins/pull/8491