Implemented logical operators for named ranged.