Fixed an issue with rest packs

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>