[#68489492]
Updated the SQL to correct minor omissions.