Removes an invalid permission