Solved bug in GetQueryparameters AsArray function.