Adds example of using ranges as conditions