Fixed deletion of build when only 1 available