Fixed dbSession changing to be consistent