Removed unnecessary joins from deployment tasks