closes #211 - Issue when a key ends with .