[PATCH] Solving problem of "ambiguous column name"