Fix quasar-galaxy integration