Fixed profile edit query.