Fix #4808 Load the existing keys without new line, so array_search can find the… Closes #4808 See merge request !653