Remove deprecated users queries.