Fix check for private_constant