Fix comparison operators for leaf node reverse_iterator, Closes #3446.