Changed previous version logic so that NOTEs can have a previous
version.