Added functionality so now entire rows are selected properly.