Judge rules Amendment D is void, will still appear on ballot