Fixed wrong rule for deleting all beam files