MAGMA-205 - Converted category so it matches the variable type