After compacting the database, the position of the elements have changed. For instance, many of the pipes or conduits are now connected to a single junction.
This is a rare issue that occurs when the drawing becomes out of sync with the database. To resolve it, go to File > Database Utilities > Synchronize Drawing (for V8i releases, Tools > Database Utilities > Synchronize Drawing). This should sync the drawing back up with the database.