Fixed Permissions and whitelist bugs. This makes Permissions like 9 times faster.