Thanks for following the steps shared by my colleague above, April 44. I'd like to share additional info about payroll liability adjustments.
You are correct regarding the date of the check used. We need to ensure that we choose the accurate year-to-date information for the Employees and the correct item names for the 401K employer to match.
I've added screenshots for your reference. 
You can also refer to the following article to help you use a liability adjustment to correct employees’ year-to-date (YTD) or quarter-to-date (QTD) payroll info: Adjust payroll liabilities in QuickBooks Desktop.
I've also added this link on how to run a report to make sure everything looks right: Payroll Summary Report.
Let me know if you still have questions or clarifications about payroll liabilities. I'm always here to help. Have a great day!