This seems like a bug. Please file it here: https://github.com/fusionauth/fusionauth-issues/issues