Corrected record insertion