Refs #9993. Making comparison operator const