Patch for StatusSections.py (problem with postgres-8.3)