Bug reported by Kajo fixed.

Only one breake was missing.

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>