Fix bug when a placeholder key doesn't exist on db