Fixed a bug when using vocabulary with Int values