Sleep deprivation can make people do stupid things. Also a baby can sometimes demand all your attention so you forget everything else.
It's nice that this turned out to be a safe situation!
(And also that there wasn't a bomb in those bags, just possibly a used diaper.)