Fixed rpgnext query truncation and rpgsession formating