Corrected flaws

FedEx split SQL was not working (even though it did work in phpmyadmin).
Simplified the SQLs used, it works now.