Fix to avoid double open-php-tags in screen templates when upgrading database.