fix deleting apps that have content ratings (bug 945466)