Fix bug where only last was causing active status.