Fixes #4203 adds warning about infinite loop on the access hook