Fixed another stupid error that would otherwise bite me in the ass in the future.