Fix approve for tables with alias.