For future reference,
The trough lane switch has to close before any scoring will occur. That's how it knows the playfield is valid. If the ball drains again before that switch closes, then it will just kick it back out, thinking it didn't eject properly in the first place.
Check that switch.