Fix SQL error in update_078-pending.sql