- fixed bug in generate_temp_table() having to do with deleteing records with null...