Query mistake fixed