Fixes #6, Updated the variable name

$allPostsIDs variable name was replaced with $allItemsIDs.