This is a regression introduced in 4d7f00f. Closes #3680
4d7f00f
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>