Using the correct query for the user prediction form.