Fix resources on *.csproj builds
Added IsNull check to ModificationCommand to prevent DBNull propagation