Fixed SQL quaery at hibernate level so that it randomizes returned encounters.
Added more paramerters to encounter query.