Fix VANILLA-294

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