Fixed profile permissions cache problem