Update the address loader to use built-in WordPress stuff... works much better than manual SQL.