* Closes #5297 * [x] I have followed the instructions in the PR template It's not great but I wasn't able to come up with a better solution.