Fixed null response when passing -1 to number for customers API query. Closes #1044