Fixed issue when ExtractMentions is called without mentions parameter.