Corrected error in getAllPersonCmd.