Fixed SQL WHERE statement for get_packet_questions