Fix bug: set database index when demuxing