Fixed an Bug

- if you had only one affected coloum the query was wrong