Fixes #616

install/upgrade.php #616