Spending on homeless questioned: Study says too much money may be allocated to those with less serious needs