[frontend] build's ended_on time fix
better and safer deleting of builds