typo; fix entry count bug when deleting offices