The issue was occurring in 16.12.x, but after upgrading to 17.6.4, the issue has been stable for the last 2 months.
The software version principally discussed in the documents is 17.6.4, which is the version that resolved the issue of AP flaps in the fabric network.