#122 Handle a remainder properly.

Some spices need a proper remainder for fetching data from the apis, so we have to
validate them before sending otherwise the apis would be overcalled.