You might be setting the unrestricted in 32bit / 64 bit console and trying it out in 64 bit / 32 bit app. Set it in the right console, or in both.
32-bit
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
64-bit
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe