Fix for utility function handling the sequence 'reverse'