Fix get previous message - return correct message