Fixed profile inheritance ordering