Added extra check to ->is_private
now it checks if it is set and if it is also true