You're 100% correct (it works, but throws an ugly warning). Fixed