Fix for PermissionPlus detection

thanks to shoghicp