Fixes #2566.

woop woop