A Solution to the Soccer Ball Problem for Generalized Uncertainty Relations