V10->11 migration warning

I believe that if you look at this post you will find quite a bit on fixing that SQL warning.