Refining network reconstruction based on functional reliability