There were complaints of handguards becoming very hot during trials and the XM4 was renamed the M4 in 1991.
Improvements and changes to the M4 were still ongoing though.
I've seen early M4's with the M203 grenade launcher, with the standard sling swivel, before there was the tactical side sling mount.
The tactical side sling mount was originally designed with the stop forward to reduce sling contact with the possibly hot barrel and the sling swivel could rest on the handguard / cap in the rear position.
When the quad rail became standard, it was found that the tactical sling side mount blocked installing and removing rail covers and could interfere with rail mounted accessories.
The Army then had the tactical side sling mount installed facing backwards, to allow the sling swivel to fold flat forward and for the block to prevent contact with the rail.