Fix VANILLA-248

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>