This regression was introduced in 7.0.2 and 8.0 with SPR #KGUT6HWKUZ. With this fix, SPR# SODY73ND6X, code is returned to pre 7.0.2 behavior. To activate the fix for KGUT6HWKUZ, you can use the Notes.ini variable "WebArrayCleanup" in the server.ini, keeping in mind the performance problem with arrays.