Added another catch clause for AmbiguousColumnException.