Add missing 'if'

Thanks to Fred Rohrer
http://stacks.math.columbia.edu/tag/01DN#comment-974