Oracle fixes

Fix for the Django Oracle backend's slow handling of numbers.