Fix wrong column being used in warning viewing