LPS-36632 Cleaning up layout revision information upon delete