Moving up or down: parliamentary activity and candidate selection