fix(enum): correct when key has a point (refs #4993)
Merge pull request #1287 from Eric-Brison/3.2-I4993

fix(enum): correct when key has a point (closes #4993)