Fix Issue Where Endpoint Param of Type Integer Cannot Set Values Array

This addresses #580. Not certain if this is the best method, but it seems to work.