Bug fix - the OpenSessionWithParameters() parameters are incorrect.