Fix bug with resolving last column position.