Fixed crasher in varianttype, whitespaces inconsistency

Signed-off-by: Marek Timko <marek.timko@ixonos.com>