Fixed duplicate bullshit end values, thank god.