Corrected a utility method which was causing test failure.