No instrument that in future is executed and registered under this division shall lose any priority to which it would be entitled because of such registration merely because of bad faith in the conveying party if the party beneficially taking under such instrument acted bona fide and there was a valuable consideration for the same paid or given.