Little improvement on the clearLocalRolesCache function.

The former version was not working for me on a test. The change is harmless anyway.