Fix unqualified column resolution with respect to invisible tuples.

Change-Id: I760550802a6329c2be01a2d54a0f31c8a8d47d71
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4018
Reviewed-by: Dimitris Tsirogiannis <dtsirogiannis@cloudera.com>
Tested-by: jenkins
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4035
Reviewed-by: Alex Behm <alex.behm@cloudera.com>