Bugfix for something I missed earlier