Lack of this check resulted to bug that was shipped to users, which was fixed in commit 805d353. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
805d353