Fix accidental return value