Fix incorrect conditional in spec
Merge pull request #14884 from terminalmage/update-spec

Fix incorrect conditional in spec