Fix #350

Precise which table we get the application column to avoid ambiguity