logic fixed when choosing random questions and IDs are not contigous