Tidying up the SQL scripts, better handling null ints from the database [TFS Changeset #64917]
Created 4.1.0 branch [TFS Changeset #55082]