Fixed pack removal bugs

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