Fixed #650: Bug - Error when assigning an existing SQL User to a new database