Fixed problem when using OnDemandMongoLoad and passing a parameter to test application