Fix #1364.