Only append prev if it's available.