Fixed put query.