Fixed issue with undefined variable in turnitintool_delete_records_select