Update ModelLoadingAdapter.java

Fixing off by one error that was causing model to always be null.