An election or a revocation of an election made before the date of the transfer, gift, or grant of the property shall be taken into account in determining under section 1016(b) the adjustments to basis of such property as of the date of the transfer, gift, or grant, whether or not an election or a revocation of an election under section 1020, or section 113(d) of the Internal Revenue Code of 1939,