Null check the value when checking if chunks are loaded
Fixes #123