This took entirely too long to fix.