Fixed issue when poll of parameters returns wrong number of parameters