Fixing bug that @Seldaek noticed.