Added missing break; statement (fixes #973)