Default to warning when version ranges are present.

Fixes #1374.