[tango_attr_as_counter] Fix convert func raw none
@formet @matias.guijarro I report this bug here because !3830 (closed) probably was not the way to go. It is a quick fix and we need it on the beamline. Please, could you take action as soon as possible?