Issue 2791 parent folder caches are not being flushed

Limited the scope to clear Permission References every time we move a folder.