Seen with zsh-5.3.1-7.fc27.
fixed via https://src.fedoraproject.org/cgit/rpms/zsh.git/commit/?id=53b1ddc8